package com.xoa.service.financialManage;

import com.xoa.model.financialManage.IncomeExpenseRecordsWithBLOBs;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;

public interface IncomeExpenseRecordsService {
    //查询列表
    ToJson findRecords(HttpServletRequest request, IncomeExpenseRecordsWithBLOBs recordsWithBLOBs);

    //根据ID查询
    ToJson findRecordsById(HttpServletRequest request, IncomeExpenseRecordsWithBLOBs recordsWithBLOBs);

    //编辑和新增
    ToJson editRecords(HttpServletRequest request, IncomeExpenseRecordsWithBLOBs recordsWithBLOBs);

    //删除
    ToJson deleteRecords(HttpServletRequest request, IncomeExpenseRecordsWithBLOBs recordsWithBLOBs);

    //图表
    ToJson findstatistics(HttpServletRequest request, IncomeExpenseRecordsWithBLOBs recordsWithBLOBs);
}
